
<div class="box-inner" style="padding:0px 0px;position: relative;">
	<div style="font-size: 1.4rem;
    text-align: center;
    background: #DBDBDB;
    height: 4.67rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1111;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    line-height: 4.67rem;color:#8d8d8d;">店铺优惠券</div>
	<ul style="width: 100%;display: inline-block;padding: 0rem 1rem;margin-top: 4.67rem;overflow: auto;">
		{#foreach $T as r}
		<li style="float: left;width: 100%;height: auto;padding-top: 1rem;">
			<div style="position: relative;display: table-cell;width:{$P.width}px">
				<div style="float: left; width: 70%;color: #666666;">
					<div style="height: 3rem;line-height: 3rem;">
						<span class="price" style='font-size: 1.7rem;color: orange;'>{$T.r.deductible}</span><span style='font-size: 1.4rem;color: orange;'>元</span>
						<span style="margin-left: 1rem;">消耗{$T.r.integral}积分</span></div>
					<div style="margin-bottom: 1rem;float: left;width: 100%;color:#B3B3B3;font-size: 1.2rem;">满{$T.r.price}元可用</div>
					<div style="color:#333; font-size: 1.2rem;">
						<!--<span style="color:#B3B3B3;">有效期：</span>-->
						有效期：{$T.r.startDate}至{$T.r.endDate}
					</div>
				</div>
				<div style="float: right;width: 30%;
				    top: 45%;    text-align: center;
				    position: absolute;border-radius: 0.4rem;    font-size: 1.2rem;
				    right: 0.2rem;">
				    <a style="border: solid 1px #ccc;padding: 3px 3px;" href="#" onclick="onExchangeClick({$T.r.id})">立即兑换</a></div>
			</div>
   		</li>
   		{#/for}
	</ul>
</div> 

